<?php
	require_once APPPATH.'third_party/main_controller'.EXT;
	class News extends Main_Controller
	{
		function __construct()
		{
			parent::__construct();
		}
		
		function detail_product_news()
		{
			$data = array();
			$uid = $this->uri->segment('3');	
			//$id = $this->uri->segment('1');	
			//$url = $this->news_model->get_url_cat($id)->id_cat;
 			//$data['url_cats'] = $this->news_model->get_url_cat($id)->url;
			///$data['title_cats'] = $this->news_model->get_name_cat($url);
			//$data['show_list_product'] = $this->news_model->show_list_product($url);		
			$this->load_render($this->load->view('detail',$data,TRUE));
		}
		
	}
?>